import { useState } from 'react'
import CompA from './CompA'
import CompB from './CompB'

export default function Index () {
  const [isShow] = useState(true)

  return (
    <div>
      <CompA />
      <hr />
      {isShow && <CompB />}
    </div>
  )
}
